package PagedFile;

/* Definition of the return conditions
 * 
 */

public class RC{
	public enum rc{
		SUCCESS,

		/* PF Errors */
		PF_INVALIDNAME,
		PF_UNIX,
		PF_FHOPEN,
		PF_FHCLOSED,
		PF_PHOPEN,
		PF_PHCLOSED,
		PF_EOF,
		PF_INVALIDPAGENUM,
		PF_NOTINBUF,
		PF_PAGEPINNED,
		PF_PAGEUNPINNED,
		PF_NOBUF,
		PF_DBFULL,
		PF_READINC,
		PF_WRITEINC,

		/* RM Errors */
	    RM_INVALIDRID,
	    RM_INVALIDREC,
	    sRM_INVALIDRECSIZE,
		RM_FHCLOSED,
		RM_FSOPEN,
		RM_FSCLOSED,
		RM_NOMORERECINMEM,

		/* SM Errors */
		SM_TUPLENOTINIT,
		SM_INVALIDATTRIX,
		SM_RELNAMECAT,
		SM_DBOPEN,
		SM_DBCLOSED,
		SM_RELNOTFOUND,
		SM_ATTRNOTFOUND,
		SM_RELEXISTS,
		SM_BADINPUT,

		/* PR (Parser) Errors */
		PR_TOOMANYATTRS,
		PR_INVALIDATTRLEN
	};
}
